package test.com.sms.selenium.singlepoint.util;

import org.openqa.selenium.By;

import test.com.sms.selenium.framework.SeleniumPageUtil;
import test.com.sms.selenium.util.SeleniumUtil;

public class SpContractLineEditPageUtil extends SeleniumPageUtil {
	
	public final static By CLE_SPAN_TITLE = By.id("ContractLineEdit1_lblHdr");
	
	// tabs
	public final static By CLE_LINK_TAB_SLA_TERMS = By.id("btnTab4");
	public final static By CLE_LINK_TAB_INCIDENTS = By.id("btnTab5");
	public final static By CLE_LINK_TAB_WARRANTY = By.id("btnTab6");
	public final static By CLE_LINK_TAB_NOTES = By.id("btnTab8");
	
	public final static void waitForPageToLoad(){
		SeleniumUtil.waitOnElements(new By[]{
			CLE_SPAN_TITLE, CLE_LINK_TAB_SLA_TERMS, CLE_LINK_TAB_INCIDENTS,
			CLE_LINK_TAB_WARRANTY, CLE_LINK_TAB_NOTES
		});
	}
	
}
